import { generate } from "../dist/index.js";

await generate({
    outPath: "./generate.js",
    outType: 'js',
    database: {
        type: 'dm',
        host: "10.30.50.70",
        port: 5236,
        user: "SYSDBA",
        password: "SYSDBA",
        database: "GOV_QTJH",
        table: "T_DICTIONARY",
    },
    columns: {
        name: "DICTIONARY_TYPE",
        comment: 'DICTIONARY_MEMO',
        label: 'DICTIONARY_VALUE',
        value: 'DICTIONARY_CODE'
    }

});
